TARGET = shutdown

OBJECTS =  shutdown.o

CFLAGS = -Wall -O3 -DPLATFORM_LINUX -DTINYXML_CFG  -I/usr/local/include

LDFLAGS = -lpthread 


CXX = g++ -pg -g -rdynamic

$(TARGET) : $(OBJECTS)
	$(CXX) -o $(TARGET) $(OBJECTS) $(LDFLAGS)
	
shutdown.o : shutdown.cpp
	$(CXX) $(CFLAGS) -c shutdown.cpp

clean:
	-rm *.o
	-rm $(TARGET)
